package org.yt.control.common;

import javax.servlet.http.HttpServlet;

public class BaseServlet extends HttpServlet {

	private static final long serialVersionUID = 1L;
	
	public Integer pageSize = 10; //每页显示的条数
	
	public Integer current = 1; //当前页码
	
	public String message ;
	
	public String error;

	public Integer getCurrent() {
		return current;
	}

	public void setCurrent(Integer current) {
		this.current = current;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}
	
}
